<?php

class HTextBox {
	function __construct() {		
		echo 'I am textbox';
	}
	
	function render($id, $name, $css_class, $width, $value = null) {
		?>
		<input type="text" id="<?php echo $id;?>" name="<?php echo $name;?>"
			 style="width:<?php echo $width;?>" class="<?php echo $css_class;?>"
			  value="<?php echo $value;?>" />
		<?php
	}
}

?>